package com.rs.entity.dto;

import cn.hutool.core.util.StrUtil;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 探测传输对象
 *
 * @author zhouwz
 * @date 2020/9/29 16:04
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class DetectionDTO {

    /**
     * 车辆编号
     */
    private String vehicleCode;

    /**
     * 货架编号
     */
    private String shelfNo;

    /**
     * 货架角度
     */
    private Integer shelfAngle;

    /**
     * 点位别名
     */
    private String nodeName;

    @Override
    public String toString() {
        return StrUtil.format("车辆编号[{}] 货架编号[{}] 货架角度[{}] 点位别名[{}]",
                vehicleCode, shelfNo, shelfAngle, nodeName);
    }
}
